package com.jin10.mapper;

import com.jin10.entity.Tag;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 标签表 Mapper 接口
 * </p>
 *
 * @author raofy
 * @since 2022-01-21
 */
public interface TagMapper extends BaseMapper<Tag> {

    List<Tag> getTagList();

    Tag getTagListById(Integer id);

    int insertOne(@Param("tag") Tag tag);
}
